import UserLayout from '@/components/layouts/UserLayout'
import RouteView from '@/components/layouts/RouteView'
export const constantRouterMap = [
  {
    path: '/login',
    component: UserLayout,
    redirect: '/user/login',
    hidden: true,
    children: [
      {
        path: '/user/login',
        component: () => import('@/views/User/Login')
      }
    ]
  },
  {
    path: '/register',
    component: RouteView,
    redirect: '/registerPage',
    hidden: true,
    children: [
      {
        path: '/registerPage',
        component: () => import('@/views/register/Register')
      },
      {
        path: '/qrCode',
        component: () => import('@/views/register/QRCode')
      },
      {
        path: '/qrVisitor',
        component: () => import('@/views/register/QRVisitor')
      }
    ]
  },
  {
    path: '/riskRules',
    component: resolve => require(['@/components/layouts/TabLayout'], resolve),
    hidden: true,
    children: [
      {
        path: '',
        component: () => import('@/views/children/antiepidemic/antiepidemicRisk/riskRules')

      }
    ]
  }
]
